package cn.ainit.base.modify;

import javax.servlet.http.HttpSession;

import cn.ainit.sys.utils.MD5Util;

public class ModifyParm {
	private String pwd;

	private String odlpwd;
    private HttpSession session;
    
    
	public HttpSession getSession() {
		return session;
	}

	public void setSession(HttpSession session) {
		this.session = session;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		try {
			//对密码进行加密
			this.pwd =  MD5Util.encode(pwd);
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

	public String getOdlpwd() {
		return odlpwd;
	}

	public void setOdlpwd(String odlpwd) {
		try {
			//对密码进行加密
			this.odlpwd =  MD5Util.encode(odlpwd);
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
